package com.example.demo.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;




@Configuration
public class AppConfig {

    @Value("${spring.mail.username}")
    private String myEmail;

    @Value("${spring.mail.password}")
    private String emailPassword;


    @Value("${spring.mail.host}")
    private String host;

    @Value("${spring.mail.port}")
    private Integer port;

    public String getHost() {
        return host;
    }

    public String getEmailPassword() {
        return emailPassword;
    }

    public Integer getPort() {
        return port;
    }

    public String getMyEmail() {
        return myEmail;
    }


}
